﻿<UserControl x:Class="EarthWatchers.SL.GUI.Controls.Comments.CommentControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    
    <Grid x:Name="LayoutRoot" Background="#BFFFFFFF" VerticalAlignment="Top" HorizontalAlignment="Stretch" Margin="3">
        <Rectangle Fill="Transparent" Stroke="Black" />
        <Image VerticalAlignment="Top" HorizontalAlignment="Right" Visibility="Collapsed" Cursor="Hand" x:Name="btnRemove" MouseLeftButtonDown="BtnRemoveMouseLeftButtonDown" Height="20" Source="/EarthWatchers.SL;component/Resources/Images/delete.png" Stretch="Fill" Width="20" ToolTipService.ToolTip="remove comment"/>
        <StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Stretch">
            <Image x:Name="avatar" Margin="4" Stretch="Fill" Width="40" Height="40" VerticalAlignment="Top" HorizontalAlignment="Center"/>
            <StackPanel Orientation="Vertical">
                <TextBlock x:Name="txtHeader" Foreground="Black" FontSize="10" Margin="0,3,0,0" FontFamily="Verdana" />
                <TextBlock x:Name="txtComments" Foreground="Black" Margin="0,3,0,0" MaxWidth="310" TextWrapping="Wrap"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
